/**
 * Created by thomas on 2017/5/10.
 */
import React,{Component} from 'react';
class Loading extends React.Component{
    constructor(props) {
        super(props);
        this.state = {
            have_change:false,
            height:document.body.offsetHeight
        };
    }
    render() {
        {/*<div id="loadingToast" className="weui_loading_toast" style={this.props.hide_load?{display:"block"}:{display:"none"}}>*/}
            {/*<div className="weui_mask_transparent"></div>*/}
            {/*<div className="weui_toast">*/}
                {/*<div className="weui_loading">*/}
                    {/*<div className="weui_loading_leaf weui_loading_leaf_0"></div>*/}
                    {/*<div className="weui_loading_leaf weui_loading_leaf_1"></div>*/}
                    {/*<div className="weui_loading_leaf weui_loading_leaf_2"></div>*/}
                    {/*<div className="weui_loading_leaf weui_loading_leaf_3"></div>*/}
                    {/*<div className="weui_loading_leaf weui_loading_leaf_4"></div>*/}
        //             <div className="weui_loading_leaf weui_loading_leaf_5"></div>
        //             <div className="weui_loading_leaf weui_loading_leaf_6"></div>
        //             <div className="weui_loading_leaf weui_loading_leaf_7"></div>
        //             <div className="weui_loading_leaf weui_loading_leaf_8"></div>
        //             <div className="weui_loading_leaf weui_loading_leaf_9"></div>
        //             <div className="weui_loading_leaf weui_loading_leaf_10"></div>
        //             <div className="weui_loading_leaf weui_loading_leaf_11"></div>
        //         </div>
        //         <p className="weui_toast_content">  数据加载中 </p>
        //     </div></div>
        return (
            <div className={this.props.hid_load?"hid cover_loading":"cover_loading"}>
                <div id="contain">
                    <div className="loading">
                        <span></span>
                        <span></span>
                        <span></span>
                        <span></span>
                        <span></span>
                    </div>
                </div>
            </div>
        );
    }
}
export default Loading;
